package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 体检不合格项信息表
 * </p>
 *
 * @author Huazige
 * @since 2022-06-02
 */
@Getter
@Setter
@TableName("ti_sys_health_failed")
@ApiModel(value = "SysHealthFailed对象", description = "体检不合格项信息表")
public class SysHealthFailed implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("体检不合格项信息编号")
    @TableId(value = "sys_health_failed_id", type = IdType.ASSIGN_ID)
    private String sysHealthFailedId;

    @ApiModelProperty("不合格项编号")
    private String failedId;

    @ApiModelProperty("兵役信息编号")
    private String bingyiInfoId;

    @ApiModelProperty("个人登记编号")
    private String registrationId;

    @ApiModelProperty("检查编号")
    private String examineId;

    @ApiModelProperty("分类")
    private String classify;

    @ApiModelProperty("不合格项名称")
    private String failedName;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("是否复检通过")
    private String isExaminePass;

    @ApiModelProperty("排序值")
    private String orderValue;

    @ApiModelProperty("缺项")
    private String missingItems;

    @ApiModelProperty("科室")
    private String administrativeOffice;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;

    @ApiModelProperty("操作人员编号")
    private String operationPersonId;

    @ApiModelProperty("优先级")
    private String priority;

    @ApiModelProperty("体检日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime examineTime;

}
